package com.newear.marathon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newear.marathon.dto.admin.inquiry.AdminResourceLoopInquiryRequestDTO;
import com.newear.marathon.dto.admin.inquiry.AdminResourceLoopInquiryResponseDTO;
import com.newear.marathon.dto.admin.inquiry.AdminResourceModifyInquiryRequestDTO;
import com.newear.marathon.dto.admin.inquiry.AdminResourceModifyInquiryResponseDTO;
import com.newear.marathon.dto.admin.maintenance.*;
import com.newear.marathon.entity.admin.AdminResource;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MicroBin
 * @since 2019-08-14
 */
public interface IAdminResourceService extends IService<AdminResource>
{

    AdminResourceLoopInquiryResponseDTO doResourceInquiryLoop(AdminResourceLoopInquiryRequestDTO requestDTO);

    AdminResourceAdditionResponseDTO doResourceAddition(AdminResourceAdditionRequestDTO requestDTO);

    AdminResourceModifyInquiryResponseDTO doResourceModifyInquiry(AdminResourceModifyInquiryRequestDTO requestDTO);

    AdminResourceModifyResponseDTO doResourceModify(AdminResourceModifyRequestDTO requestDTO);

    AdminResourceModifyStatusResponseDTO doResourceModifyStatus(AdminResourceModifyStatusRequestDTO requestDTO);

    List<AdminResource> findByUserId(Integer userId);
}
